package net.learn.system.convert;

import net.learn.system.entity.SysRadioDetailEntity;
import net.learn.system.entity.SysRadioEntity;
import net.learn.system.vo.SysRadioDetailVO;
import net.learn.system.vo.SysRadioVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysRadioDetailConvert {
    SysRadioDetailConvert INSTANCE = Mappers.getMapper(SysRadioDetailConvert.class);

    SysRadioDetailVO convert(SysRadioDetailEntity entity);

    SysRadioDetailEntity convert(SysRadioDetailVO vo);

    List<SysRadioDetailVO> convertList(List<SysRadioDetailEntity> list);

}
